"""phone_no URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.contrib import admin
from manage_no.views import *
from django.conf.urls import *
urlpatterns = [

#系统管理url*************************************************************************************
    url(r'^$',index,name='index'),
    url(r'^index',index,name='index'),
    url(r'^welcome',welcome,name='welcome'),
    url(r'^login/$',user_login),
    url(r'^logout/$',user_logout,name='logout'),
    url(r'^search/$',search,name='search'),
    url(r'^user_info/add_user/$',add_user,name='add_user'),
    url(r'^user_info/$',user_info,name='user_info'),
    url(r'^user_info/del/(.+)/$',del_user),
    url(r'^user_info/alter/(.+)/$',alter_user),
    url(r'^user_info/save_alter_user/',save_alter_user,name='save_alter_user'),
    url(r'^alter_user_pwd/$', alter_user_pwd,name='alter_user_pwd'),
    url(r'^message_info/$',message_info,name='message_info'),
    url(r'^message_info/add_message/$',add_message,name='add_message'),
    url(r'^message_info/del_message/(.+)/$',del_message),
    url(r'^message_info/alter_message/(.+)/$',alter_message),
    url(r'^message_info/save_alter_message/$',save_alter_message,name='save_alter_message'),
    url(r'^part_info/$',part_info,name='part_info'),
    url(r'^part_info/add_part/$',add_part,name='add_part'),
    url(r'^part_info/del_part/(.+)/$',del_part),
    url(r'^part_info/alter_part/(.+)/$',alter_part),
    url(r'^part_info/save_alter_part/$',save_alter_part,name='save_alter_part'),
#系统管理url END*************************************************************************************
#基础url *************************************************************************************
    url(r'^get_part/$',get_part,name='get_part'),
    url(r'^weixin/$',weixin,name='weixin'),
    url(r'^get_user_main/$',get_user_main,name='get_user_main'),
    url(r'^apply_no_repeat/$',apply_no_repeat,name='apply_no_repeat'),
    url(r'^apply_alter_repeat/$',apply_alter_repeat,name='apply_alter_repeat'),
    url(r'^apply_short_repeat/$',apply_short_repeat,name='apply_short_repeat'),
    url(r'^apply_alter_short/$',apply_alter_short,name='apply_alter_short'),
    url(r'^error_log/$',error_log,name='error_log'),
    url(r'^error_logdata/$',error_logdata,name='error_logdata'),
    url(r'^short_manage/$',short_manage,name='short_manage'),
    url(r'^short_manage_data/$',short_manage_data,name='short_manage_data'),
    url(r'^save_alter_short/$',save_alter_short,name='save_alter_short'),
#基础url END*************************************************************************************
#主号url *************************************************************************************
    url(r'^main_info/$',main_info,name='main_info'),
    url(r'^main_data/$',main_data,name='main_data'),
    url(r'^main_manage/$',main_manage,name='main_manage'),
    url(r'^save_error_main/$',save_error_main,name='save_error_main'),
    url(r'^main_manage/del/(.+)/$',main_manage_del),
    url(r'^main_manage_alter/$',main_manage_alter,name='main_manage_alter'),
    url(r'^main_manage/reg/$',main_manage_reg,name='main_manage_reg'),
    url(r'^save_reg_main/$',save_reg_main,name='save_reg_main'),
    url(r'^main_info/add/$',add_main,name='add_main'),
    url(r'^save_add_main/$',save_add_main,name='save_add_main'),
    url(r'^add_log_main/$',add_log_main,name='add_log_main'),
    url(r'^add_log_data_main/$',add_log_data_main,name='add_log_data_main'),
    url(r'^main_info/alter/(.+)/$',apply_alter_main),
    url(r'^save_alter_maindata/$',save_alter_maindata,name='save_alter_maindata'),
    url(r'^alter_log_main/$',alter_log_main,name='alter_log_main'),
    url(r'^alter_log_maindata/$',alter_log_maindata,name='alter_log_maindata'),
    url(r'^del_log_main/$',del_log_main,name='del_log_main'),
    url(r'^del_log_maindata/$',del_log_maindata,name='del_log_maindata'),
    url(r'^del_main/(.+)/$',del_main,name='del_main'),
    url(r'^save_del_maindata/$',save_del_maindata,name='save_del_maindata'),
    url(r'^main_view/(.+)/$',main_view),
    url(r'^app_manage/$',app_manage,name='app_manage'),
    url(r'^app_manage_data/$',app_manage_data,name='app_manage_data'),
    url(r'^save_alter_app/$',save_alter_app,name='save_alter_app'),
#主号url END*************************************************************************************
#副号url *************************************************************************************
    url(r'^vice_no_info/$',vice_no_info,name='vice_no_info'),
    url(r'^vice_no_data/$',vice_no_data,name='vice_no_data'),
    url(r'^vice_no_info/add/$',add_vice,name='add_vice'),
    url(r'^save_add_vice/$',save_add_vice,name='save_add_vice'),
    url(r'^vice_manage/$',vice_manage,name='vice_manage'),
    url(r'^vice_manage/del/(.+)/$',vice_manage_del),
    url(r'^vice_manage_alter/$',vice_manage_alter,name='vice_manage_alter'),
    url(r'^vice_manage/reg/$',vice_manage_reg,name='vice_manage_reg'),
    url(r'^save_reg_main/$',save_reg_main,name='save_reg_main'),
    url(r'^save_reg_vice/$',save_reg_vice,name='save_reg_vice'),
    url(r'^add_log_vice/$',add_log_vice,name='add_log_vice'),
    url(r'^add_log_data_vice/$',add_log_data_vice,name='add_log_data_vice'),
    url(r'^vice_no_info/alter/(.+)/$',apply_alter_vice),
    url(r'^save_alter_vicedata/$',save_alter_vicedata,name='save_alter_vicedata'),
    url(r'^alter_log_vice/$',alter_log_vice,name='alter_log_vice'),
    url(r'^alter_log_vicedata/$',alter_log_vicedata,name='alter_log_vicedata'),
    url(r'^del_log_vice/$',del_log_vice,name='del_log_vice'),
    url(r'^del_log_vicedata/$',del_log_vicedata,name='del_log_vicedata'),
    url(r'^del_vice/(.+)/$',del_vice,name='del_vice'),
    url(r'^save_del_vicedata/$',save_del_vicedata,name='save_del_vicedata'),
    url(r'^save_error_vice/$',save_error_vice,name='save_error_vice'),
    url(r'^vice_view/(.+)/$',vice_view),
#副号url END*************************************************************************************
#审批url *************************************************************************************
    url(r'^apply_approval/$',apply_approval,name='apply_approval'),
    url(r'^apply_approval_data/$',apply_approval_data,name='apply_approval_data'),
    url(r'^apply_approval/is/(.+)/$',apply_is_approval),
    url(r'^approval_add_yes/$',approval_add_yes,name='approval_add_yes'),
    url(r'^approval_add_no/$',approval_add_no,name='approval_add_no'),
    url(r'^approval_alter_yes/$',approval_alter_yes,name='approval_alter_yes'),
    url(r'^approval_alter_no/$',approval_alter_no,name='approval_alter_no'),
    url(r'^approval_del_yes/$',approval_del_yes,name='approval_del_yes'),
    url(r'^approval_del_no/$',approval_del_no,name='approval_del_no'),
    url(r'^apply_upload/$',apply_upload,name='apply_upload'),
    url(r'^apply_fail/$',apply_fail,name='apply_fail'),
    url(r'^apply_fail_data/$',apply_fail_data,name='apply_fail_data'),
#审批url END*************************************************************************************
#确认url *************************************************************************************
    url(r'^apply_remark/$',apply_remark,name='apply_remark'),
    url(r'^apply_remark_data/$',apply_remark_data,name='apply_remark_data'),
    url(r'^apply_remark_is/$',apply_remark_is,name='apply_remark_is'),
    url(r'^apply_remark/(.+)/$',apply_remark_down),
#确认url END*************************************************************************************
#回执url *************************************************************************************
    url(r'^apply_hz/$',apply_hz,name='apply_hz'),
    url(r'^hz_success/$',hz_success,name='hz_success'),
    url(r'^hz_fail/$',hz_fail,name='hz_fail'),
#回执url END*************************************************************************************
#图表url *************************************************************************************
    url(r'^chart_part/$',chart_part,name='chart_part'),
    url(r'^chart_identity/$',chart_identity,name='chart_identity'),
#图表url END*************************************************************************************
]
